//package cn.regexp.elasticjob.job.annotation;
//
//import cn.regexp.elasticjob.annotation.ElasticJobConf;
//import com.dangdang.ddframe.job.api.ShardingContext;
//import com.dangdang.ddframe.job.api.simple.SimpleJob;
//import org.slf4j.Logger;
//import org.slf4j.LoggerFactory;
//
//@ElasticJobConf(name = "DemoSimpleJob", cron = "0/10 * * * * ?", shardingTotalCount = 1)
//public class DemoSimpleJob implements SimpleJob {
//    private final Logger logger = LoggerFactory.getLogger(this.getClass());
//
//    @Override
//    public void execute(ShardingContext shardingContext) {
//        //自定义异常
//      //  int i = 1/0;
//        logger.info("SimpleJob execute-------------");
//    }
//}